#pragma once

#include "..\GameObject\Player.h"
#include <Pub\ObjectManager.h>
#include <Pub\Singleton.h>

#define PlayerManagerM CPlayerManager::GetSingleton()

class CPlayerManager :
	public CObjectManager<CPlayer>,
	public CSingleton<CPlayerManager>
{
private:
	friend CSingleton<CPlayerManager>;
	CPlayerManager(void);

public:
	~CPlayerManager(void);

public:
	bool TheBegin();
	bool TheEnd();

	LPPlayer CreatePlayer(std::string strAccount, std::string strData);
	void DeleteDelete(LPPlayer pPlayer);
};

